<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表格</title>
</head>
<body>
    <style>
        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        td{
            text-align: center;
            font-size: 16px;

        }
        .one, .two, .three{
            color: red;
            text-decoration: line-through;
        }
        .four, .five, .six{
            color: green;
            text-decoration: underline;
        }
        .seven, .eight, .nine{
            color: blue;
            font-weight: 900;
        }
    </style>
    <table border="1px" width="500px" height="200px" cellspacing="0">
        <tr>
            <td class="one">1</td>
            <td class="two">2</td>
            <td class="three">3</td>
        </tr>
        <tr>
            <td class="four">4</td>
            <td class="five">5</td>
            <td class="six">6</td>
        </tr>
        <tr>
            <td class="seven">7</td>
            <td class="eight">8</td>
            <td class="nine">9</td>
        </tr>
    </table>
</body>
</html>